%\chapter{Indeks}
\addcontentsline{toc}{section}{Index} 
\printindex
 \index{mainentry # subentry}
\index{title}